home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-04-19 | 1.7 KB | 75 lines | [TEXT/MPS ] |
- //# Copyright: © 1993-94 by Apple Computer, Inc., all rights reserved.
- #ifndef _STORAGE_
- #define _STORAGE_
-
- #ifndef _ODOBJECT_
- #include "ODObject.idl"
- #endif
-
- //==============================================================================
- // Classes defined in this interface
- //==============================================================================
-
- interface ODStorageSystem;
-
- //==============================================================================
- // Classes used in this interface
- //==============================================================================
-
- interface ODBaseSession;
- interface ODContainer;
-
- //==============================================================================
- // Implementation Types
- //==============================================================================
-
-
-
- //==============================================================================
- // ODStorageSystem
- //==============================================================================
-
- interface ODStorageSystem : ODObject
- {
- void InitStorageSystem(in ODBaseSession session,
- in ODHeap heap);
-
- ODBaseSession GetSession();
-
- ODContainer GetContainer(in ODContainerType containerType,
- in ODContainerID id);
-
- ODContainer CreateContainer(in ODContainerType containerType,
- in ODContainerID id);
-
- void NeedSpace(in ODSize memSize,
- in ODBoolean doPurge);
-
-
- #ifdef __SOMIDL__
- implementation
- {
- override:
- somInit,
- somUninit,
- Purge;
- releaseorder:
- InitStorageSystem,
- GetSession,
- GetContainer,
- CreateContainer,
- NeedSpace,
- GrowHeap,
- ReleaseContainer,
- GetContainerSuite,
- GetHeap,
- GetCMSession,
- SetCMSession;
-
- };
- #endif
- };
-
-
- #endif // _STORAGE_
-